public class CPU extends Object{
	int speed;
	CPU() {}
	CPU(int speed) {
		this.speed = speed;
	}
	public void getSpeed(int a) {
		speed = a;
	}
	public int getSpeed() {
		return speed;
	}
	public String toString() {
		return "CPU已覆盖toString";
	}
	public boolean equals(Object obj) {
		return true;
	}
}
